import request from '@/utils/request'

// 查询历史缺陷 7天
//  改远程接口 http://10.11.203.92:8888/optimization/chip/list
export function listDefectDetail(query) {
  return request({
    url: '/op/chip/list',
    method: 'get',
    params: query
  })
}

// 查询实时缺陷 3天
export function listDefectDetailServer(query) {
  return request({
    url: '/op/chip/selectDefChipByOpServer',
    method: 'get',
    params: query
  })
}

//查询缺陷图
export function listDefectChipList(data) {
  return request({
    url: '/xinfuxing-mes/ZolDefChip/list',
    method: 'post',
    data: data
  })
}
